package com.pzr.soccer.match.domain;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.NavigableMap;
import java.util.TreeMap;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

@Document
@Data
public class MatchInfo implements Serializable{

	private static final long serialVersionUID = 6157276885757871255L;
	
	private String id;
	private LocalDate date;
	private String 联赛="";
	private String 开赛时间="";
	private String 主队="";
	private String 客队="";
	private String yanPan="";
	private String JiaoQiuPan="";
	private String JiaoQiuDaXiao="";
	private String DaXiaoPan="";	
	private String DaXiao="";
	private String score="";
	private String corner="";
	private String halfCorner="";
	private String shot="";
	private String attack="";
	private String dangerous="";
	private int goodPoint;
	private int lastChangeTimeAtFirstHalf;
	private boolean isGoalAfterGoodPoint;
	private boolean isGoalAfterGoodPoint_wholeGame;
	private boolean isHalfEnd;
    private Map<String, Integer> pairScore=new LinkedHashMap<>();
    private String strongTeam="";
    private NavigableMap<Integer,List<Integer>> pairShot=new TreeMap<>();
    private NavigableMap<Integer,List<Integer>> pairCorner=new TreeMap<>();
    private NavigableMap<Integer,List<Integer>> pairScore2=new TreeMap<>();
    private NavigableMap<Integer,List<Integer>> pairDangerous=new TreeMap<>();
    private NavigableMap<Integer,String> dxqSeries=new TreeMap<>();
    private NavigableMap<Integer,String> dxqSeries_h=new TreeMap<>();
    
    private String homeShotOff="";
    private String homeShotOn="";
    private String awayShotOff="";
    private String awayShotOn="";
    private String allAttack="";
    private String homeDangerous="";
    private String awayDangerous="";
    

	@Override
	public String toString() {
		return "MatchInfo [联赛=" + 联赛 + ", 主队=" + 主队 + ", 客队=" + 客队 + ", yanPan=" + yanPan + ", JiaoQiuPan=" + JiaoQiuPan
				+ ", JiaoQiuDaXiao=" + JiaoQiuDaXiao + ", DaXiaoPan=" + DaXiaoPan + ", DaXiao=" + DaXiao + ", score="
				+ score + ", corner=" + corner + ", halfCorner=" + halfCorner + ", shot=" + shot + ", attack=" + attack
				+ "]";
	}

}
